//
//  MovieInfo.m
//  EasyToo
//
//  Created by Jr Lan on 13-9-9.
//
//

#import "MovieInfo.h"

@implementation MovieInfo

- (id)initWithDictionary:(NSDictionary *)jsonDictionary
{
    self = [self init];
    if (self) {
        self.filmid = GetDictionaryStringDefaultNil(jsonDictionary, @"filmid");
        self.filmname = GetDictionaryStringDefaultNil(jsonDictionary, @"filmname");
        self.actor = GetDictionaryStringDefaultNil(jsonDictionary, @"actor");
        self.type = GetDictionaryStringDefaultNil(jsonDictionary, @"type");
        self.image = GetDictionaryStringDefaultNil(jsonDictionary, @"image");
        self.duration = GetDictionaryStringDefaultNil(jsonDictionary, @"duration");
        self.language = GetDictionaryStringDefaultNil(jsonDictionary, @"language");
        self.dimensional = GetDictionaryStringDefaultNil(jsonDictionary, @"dimensional");
    }
    return self;
}

@end
